package ar.com.drconta.ganancias.views.code;

import java.util.Random;



public class Person {
 
        private int id;
 
        private String name;
 
        private Team team;
 
        public Team getTeam() {
 
                return team;
 
        }
 
        public void setTeam(Team team) {
 
                this.team = team;
 
        }
 
        public int getId() {
 
                return id;
 
        }
 
        public void setId(int id) {
 
                this.id = id;
 
        }
 
        public String getName() {
 
                return name;
 
        }
 
        public void setName(String name) {
 
                this.name = name;
 
        }
 
        
 
        private static Random r = new Random();
 
        public static String getRandomName() {
 
                String[] names = {"Mike", "Kiko", "Jack", "Robot"};
 
                int nextInt = r.nextInt(names.length);
 
                return names[nextInt];
 
        }
 
        
 
        public static void main(String[] args) {
 
                for (int i = 0; i < 11100; i++) {
 
                        System.out.println(Person.getRandomName());
 
                }
 
        }
 
} 
